Sâd
In the name of God, Most Gracious, Most Merciful.
[38:24]
(David) said: "He has undoubtedly wronged thee in demanding thy (single) ewe to be added to his (flock of) ewes: truly many are the partners (in business) who wrong each other: Not so do those who believe and work deeds of righteousness, and how few are they?"...and David gathered that We had tried him: he asked forgiveness of his Lord, fell down, bowing (in prostration), and turned (to God in repentance).


* v.24 : The circumstances were mysterious; the accusation was noval; it was not clear why the unjust brother should also have come with the complainant, risking his life in climbing the wall to evade the guard, and he certainly said nothing. David took them literally, and began to preach about the falsehood and the fraud of men, who should be content with what they have, but who always covet more.
* Especially, said David, is it wrong for brothers or men in partnership to take advantage of each other; but how few are the men who are righteous? He had in his mind his own devotion and justice. But lo and behold! the men disappeared as mysteriously as they had come. It was then that David realised that the incident had been a trial or temptation-a test of his moral or spiritual fibre! Great though he was as a king, and just though he was as a judge, the moment that he thought of these things in self- pride, his merit vanished. In himself he was as other men: it was Allah’s grace that gave him wisdom and justice, and he should have been humble in the sight of Allah.
* Judged by ordinary standards, David had done no wrong; he was a good and just king. Judged by the highest standard of those nearest to Allah (Muqarraban, lvi. 11), the thought of self-pride and self-righteousness had to be washed off from him by his own act of self-realisation and repentance. This was freely accepted by Allah, as the next verse shows. A) Some commentators say that David’s fault here was his hastiness in judging before hearing the case of the other party. When he realised his lapse, he fell down in repentance.